#include "epoll.h"

int epoll_add(int epoll_fd,int net_fd){
// 设计监听集合
    struct epoll_event event;
    event.events = EPOLLIN;
    event.data.fd = net_fd;
    epoll_ctl(epoll_fd, EPOLL_CTL_ADD, net_fd, &event);

    return 0;
}